home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
QuickTime 1.0 for Developers
/
QuickTime 1.0 for Developers.iso
/
Goodies
/
MediaTools™
/
MediaTools
/
MediaTools.rsrc
/
CODE_11_GReadFile.txt
< prev
next >
Wrap
Text File
|
1991-09-09
|
50KB
|
878 lines
# near model CODE resource
# jump table entries: 3816-3824 (9 of them)
export_477:
00000000 4E56 0000 link A6, 0
00000004 48E7 0108 movem.l -[A7], D7,A4
00000008 3E2E 000C move.w D7, [A6 + 0xC]
0000000C 286E 0008 movea.l A4, [A6 + 0x8]
00000010 2054 movea.l A0, [A4]
00000012 3147 0030 move.w [A0 + 0x30], D7
00000016 2054 movea.l A0, [A4]
00000018 2068 00DC movea.l A0, [A0 + 0xDC]
0000001C A029 syscall HLock
0000001E 2054 movea.l A0, [A4]
00000020 2068 0024 movea.l A0, [A0 + 0x24]
00000024 A029 syscall HLock
00000026 558F subq.l A7, 2
00000028 3F07 move.w -[A7], D7
0000002A 7000 moveq.l D0, 0x00
0000002C 2F00 move.l -[A7], D0
0000002E 2054 movea.l A0, [A4]
00000030 2068 0024 movea.l A0, [A0 + 0x24]
00000034 2F10 move.l -[A7], [A0]
00000036 2054 movea.l A0, [A4]
00000038 2068 00DC movea.l A0, [A0 + 0xDC]
0000003C 2F10 move.l -[A7], [A0]
0000003E 303C 0001 move.w D0, 0x1
00000042 AA52 syscall HFSPinaforeDispatch/HighLevelFSDispatch
00000044 2054 movea.l A0, [A4]
00000046 2068 0024 movea.l A0, [A0 + 0x24]
0000004A A02A syscall HUnlock
0000004C 2054 movea.l A0, [A4]
0000004E 2068 00DC movea.l A0, [A0 + 0xDC]
00000052 A02A syscall HUnlock
00000054 2054 movea.l A0, [A4]
00000056 117C 0001 0037 move.b [A0 + 0x37], 0x1
0000005C 4CEE 1080 FFF8 movem.l D7,A4, [A6 - 0x8]
00000062 4E5E unlink A6
00000064 205F movea.l A0, [A7]+
00000066 5C4F addq.w A7, 6
00000068 4ED0 jmp [A0]
0000006A 9B54 sub.w [A4], D5
0000006C 4D4F chk.w D6, A7
0000006E 5649 addq.w A1, 3
00000070 4544 chk.w D2, D4
00000072 4F43 chk.w D7, D3
00000074 554D subq.w A5, 2
00000076 454E chk.w D2, A6
00000078 542E 5345 addq.b [A6 + 0x5345], 2
0000007C 5456 addq.w [A6], 2
0000007E 4F4C chk.w D7, A4
00000080 5245 addq.w D5, 1
00000082 464E not.w A6
00000084 554D subq.w A5, 2
00000086 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_478: // at 00000088 (misaligned)
0000008A 0000 48E7 ori.b D0, 0xE7
0000008E 0018 266E ori.b [A0]+, 0x6E /* 'n' */
00000092 000C 286E ori.b A4, 0x6E /* 'n' */
00000096 0008 2F0B ori.b A0, 0xB
0000009A 2F0C move.l -[A7], A4
0000009C 4EAD 1C9A jsr [A5 + 0x1C9A /* export_911 */]
000000A0 2054 movea.l A0, [A4]
000000A2 2068 00DC movea.l A0, [A0 + 0xDC]
000000A6 A029 syscall HLock
000000A8 204B movea.l A0, A3
000000AA 2254 movea.l A1, [A4]
000000AC 2269 00DC movea.l A1, [A1 + 0xDC]
000000B0 2251 movea.l A1, [A1]
000000B2 5C89 addq.l A1, 6
000000B4 7000 moveq.l D0, 0x00
000000B6 1013 move.b D0, [A3]
000000B8 5240 addq.w D0, 1
000000BA 48C0 ext.l D0
000000BC A02E syscall BlockMove/BlockMoveData
000000BE 2054 movea.l A0, [A4]
000000C0 2068 00DC movea.l A0, [A0 + 0xDC]
000000C4 A02A syscall HUnlock
000000C6 4CEE 1800 FFF8 movem.l A3,A4, [A6 - 0x8]
000000CC 4E5E unlink A6
000000CE 205F movea.l A0, [A7]+
000000D0 504F addq.w A7, 8
000000D2 4ED0 jmp [A0]
000000D4 9754 sub.w [A4], D3
000000D6 4D4F chk.w D6, A7
000000D8 5649 addq.w A1, 3
000000DA 4544 chk.w D2, D4
000000DC 4F43 chk.w D7, D3
000000DE 554D subq.w A5, 2
000000E0 454E chk.w D2, A6
000000E2 542E 5345 addq.b [A6 + 0x5345], 2
000000E6 5454 addq.w [A4], 2
000000E8 4954 chk.w D4, [A4]
000000EA 4C45 0000 movem.l <none>, D5
000000EE 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_479: // at 000000F0 (misaligned)
000000F2 0000 48E7 ori.b D0, 0xE7
000000F6 0118 btst [A0]+, D0
000000F8 266E 0010 movea.l A3, [A6 + 0x10]
000000FC 286E 0008 movea.l A4, [A6 + 0x8]
00000100 558F subq.l A7, 2
00000102 2F2E 001E move.l -[A7], [A6 + 0x1E]
00000106 3F2E 001C move.w -[A7], [A6 + 0x1C]
0000010A 1F2E 001A move.b -[A7], [A6 + 0x1A]
0000010E 1F2E 0018 move.b -[A7], [A6 + 0x18]
00000112 2F2E 0014 move.l -[A7], [A6 + 0x14]
00000116 2F0B move.l -[A7], A3
00000118 2F2E 000C move.l -[A7], [A6 + 0xC]
0000011C 2F0C move.l -[A7], A4
0000011E 4EAD 0B32 jsr [A5 + 0xB32 /* export_354 */]
00000122 3E1F move.w D7, [A7]+
00000124 2054 movea.l A0, [A4]
00000126 3153 00D0 move.w [A0 + 0xD0], [A3]
0000012A 206E 000C movea.l A0, [A6 + 0xC]
0000012E 2254 movea.l A1, [A4]
00000130 3350 00CE move.w [A1 + 0xCE], [A0]
00000134 3D47 0022 move.w [A6 + 0x22], D7
00000138 4CEE 1880 FFF4 movem.l D7,A3,A4, [A6 - 0xC]
0000013E 4E5E unlink A6
00000140 205F movea.l A0, [A7]+
00000142 4FEF 001A lea.l A7, [A7 + 0x1A]
00000146 4ED0 jmp [A0]
00000148 9854 sub.w D4, [A4]
0000014A 4D4F chk.w D6, A7
0000014C 5649 addq.w A1, 3
0000014E 4544 chk.w D2, D4
00000150 4F43 chk.w D7, D3
00000152 554D subq.w A5, 2
00000154 454E chk.w D2, A6
00000156 542E 4F50 addq.b [A6 + 0x4F50], 2
0000015A 454E chk.w D2, A6
0000015C 4146 chk.w D0, D6
0000015E 494C chk.w D4, A4
00000160 4500 .invalid 2, D0 // invalid opcode 4 with b == 4
00000162 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_480: // at 00000164 (misaligned)
00000166 FFF4 .invalid <<F/7/7>>
00000168 48E7 0318 movem.l -[A7], D6,D7,A3,A4
0000016C 286E 0008 movea.l A4, [A6 + 0x8]
00000170 2054 movea.l A0, [A4]
00000172 2068 00DC movea.l A0, [A0 + 0xDC]
00000176 A029 syscall HLock
00000178 2054 movea.l A0, [A4]
0000017A 2068 0024 movea.l A0, [A0 + 0x24]
0000017E A029 syscall HLock
00000180 558F subq.l A7, 2
00000182 2054 movea.l A0, [A4]
00000184 3F28 0030 move.w -[A7], [A0 + 0x30]
00000188 7000 moveq.l D0, 0x00
0000018A 2F00 move.l -[A7], D0
0000018C 2068 0024 movea.l A0, [A0 + 0x24]
00000190 2F10 move.l -[A7], [A0]
00000192 2054 movea.l A0, [A4]
00000194 2068 00DC movea.l A0, [A0 + 0xDC]
00000198 2F10 move.l -[A7], [A0]
0000019A 303C 0001 move.w D0, 0x1
0000019E AA52 syscall HFSPinaforeDispatch/HighLevelFSDispatch
000001A0 2054 movea.l A0, [A4]
000001A2 2068 0024 movea.l A0, [A0 + 0x24]
000001A6 A02A syscall HUnlock
000001A8 2054 movea.l A0, [A4]
000001AA 2068 00DC movea.l A0, [A0 + 0xDC]
000001AE A02A syscall HUnlock
000001B0 598F subq.l A7, 4
000001B2 2F3C 4D54 6C73 move.l -[A7], 0x4D546C73 /* 'MTls' */
000001B8 3F3C 0080 move.w -[A7], 0x80
000001BC A81F syscall Get1Resource
000001BE 2D5F FFF4 move.l [A6 - 0xC], [A7]+
000001C2 544F addq.w A7, 2
000001C4 6746 beq +0x48 /* 0000020C */
000001C6 2F2E FFF4 move.l -[A7], [A6 - 0xC]
000001CA A992 syscall DetachResource
000001CC 206E FFF4 movea.l A0, [A6 - 0xC]
000001D0 A029 syscall HLock
000001D2 206E FFF4 movea.l A0, [A6 - 0xC]
000001D6 2650 movea.l A3, [A0]
000001D8 7003 moveq.l D0, 0x03
000001DA B093 cmp.l D0, [A3]
000001DC 6708 beq +0xA /* 000001E6 */
000001DE A023 syscall DisposHandle/DisposeHandle
000001E0 7000 moveq.l D0, 0x00
000001E2 2D40 FFF4 move.l [A6 - 0xC], D0
label000001E6:
000001E6 558F subq.l A7, 2
000001E8 2F3C 6D6F 6F76 move.l -[A7], 0x6D6F6F76 /* 'moov' */
000001EE A80D syscall Count1Resources
000001F0 301F move.w D0, [A7]+
000001F2 48C0 ext.l D0
000001F4 2E00 move.l D7, D0
000001F6 302B 0004 move.w D0, [A3 + 0x4]
000001FA 48C0 ext.l D0
000001FC BE80 cmp.l D7, D0
000001FE 670C beq +0xE /* 0000020C */
00000200 206E FFF4 movea.l A0, [A6 - 0xC]
00000204 A023 syscall DisposHandle/DisposeHandle
00000206 7000 moveq.l D0, 0x00
00000208 2D40 FFF4 move.l [A6 - 0xC], D0
label0000020C:
0000020C 4AAE FFF4 tst.l [A6 - 0xC]
00000210 660C bne +0xE /* 0000021E */
00000212 598F subq.l A7, 4
00000214 2F0C move.l -[A7], A4
00000216 4EBA 00FC jsr [PC + 0xFC /* 00000314 */]
0000021A 2D5F FFF4 move.l [A6 - 0xC], [A7]+
label0000021E:
0000021E 2054 movea.l A0, [A4]
00000220 216E FFF4 00B0 move.l [A0 + 0xB0], [A6 - 0xC]
00000226 206E FFF4 movea.l A0, [A6 - 0xC]
0000022A A029 syscall HLock
0000022C 206E FFF4 movea.l A0, [A6 - 0xC]
00000230 2050 movea.l A0, [A0]
00000232 2D48 FFF8 move.l [A6 - 0x8], A0
00000236 3E28 001E move.w D7, [A0 + 0x1E]
0000023A 3C28 001C move.w D6, [A0 + 0x1C]
0000023E 3F07 move.w -[A7], D7
00000240 3F06 move.w -[A7], D6
00000242 2F0C move.l -[A7], A4
00000244 4EAD 3C0A jsr [A5 + 0x3C0A /* export_1917 */]
00000248 206E FFF8 movea.l A0, [A6 - 0x8]
0000024C 4A68 0006 tst.w [A0 + 0x6]
00000250 6746 beq +0x48 /* 00000298 */
00000252 598F subq.l A7, 4
00000254 7078 moveq.l D0, 0x78
00000256 2F00 move.l -[A7], D0
00000258 4EAD 224A jsr [A5 + 0x224A /* export_1093 */]
0000025C 2054 movea.l A0, [A4]
0000025E 215F 0020 move.l [A0 + 0x20], [A7]+
00000262 2054 movea.l A0, [A4]
00000264 4AA8 0020 tst.l [A0 + 0x20]
00000268 672E beq +0x30 /* 00000298 */
0000026A 2068 0020 movea.l A0, [A0 + 0x20]
0000026E A029 syscall HLock
00000270 206E FFF4 movea.l A0, [A6 - 0xC]
00000274 2010 move.l D0, [A0]
00000276 7222 moveq.l D1, 0x22
00000278 D081 add.l D0, D1
0000027A 48C6 ext.l D6
0000027C 2406 move.l D2, D6
0000027E E58A lsl D2, 2
00000280 D480 add.l D2, D0
00000282 2042 movea.l A0, D2
00000284 2254 movea.l A1, [A4]
00000286 2269 0020 movea.l A1, [A1 + 0x20]
0000028A 2251 movea.l A1, [A1]
0000028C 7078 moveq.l D0, 0x78
0000028E A02E syscall BlockMove/BlockMoveData
00000290 2054 movea.l A0, [A4]
00000292 2068 0020 movea.l A0, [A0 + 0x20]
00000296 A02A syscall HUnlock
label00000298:
00000298 202E FFF8 move.l D0, [A6 - 0x8]
0000029C 7222 moveq.l D1, 0x22
0000029E D081 add.l D0, D1
000002A0 2640 movea.l A3, D0
000002A2 D6C6 add.w A3, D6
000002A4 48C6 ext.l D6
000002A6 200B move.l D0, A3
000002A8 D086 add.l D0, D6
000002AA 2D40 FFFC move.l [A6 - 0x4], D0
000002AE 7E01 moveq.l D7, 0x01
000002B0 6026 bra +0x28 /* 000002D8 */
label000002B2:
000002B2 4A13 tst.b [A3]
000002B4 6714 beq +0x16 /* 000002CA */
000002B6 2054 movea.l A0, [A4]
000002B8 3F28 00CE move.w -[A7], [A0 + 0xCE]
000002BC 3F07 move.w -[A7], D7
000002BE 206E FFFC movea.l A0, [A6 - 0x4]
000002C2 3F10 move.w -[A7], [A0]
000002C4 2F0C move.l -[A7], A4
000002C6 4EBA 0180 jsr [PC + 0x180 /* 00000448 */]
label000002CA:
000002CA 3007 move.w D0, D7
000002CC 5247 addq.w D7, 1
000002CE 524B addq.w A3, 1
000002D0 202E FFFC move.l D0, [A6 - 0x4]
000002D4 54AE FFFC addq.l [A6 - 0x4], 2
label000002D8:
000002D8 BC47 cmp.w D6, D7
000002DA 6CD6 bge -0x28 /* 000002B2 */
000002DC 206E FFF4 movea.l A0, [A6 - 0xC]
000002E0 A02A syscall HUnlock
000002E2 2054 movea.l A0, [A4]
000002E4 117C 0001 00AE move.b [A0 + 0xAE], 0x1
000002EA 4CEE 18C0 FFE4 movem.l D6,D7,A3,A4, [A6 - 0x1C]
000002F0 4E5E unlink A6
000002F2 205F movea.l A0, [A7]+
000002F4 4FEF 000A lea.l A7, [A7 + 0xA]
000002F8 4ED0 jmp [A0]
000002FA 9554 sub.w [A4], D2
000002FC 4D4F chk.w D6, A7
000002FE 5649 addq.w A1, 3
00000300 4544 chk.w D2, D4
00000302 4F43 chk.w D7, D3
00000304 554D subq.w A5, 2
00000306 454E chk.w D2, A6
00000308 542E 444F addq.b [A6 + 0x444F], 2
0000030C 5245 addq.w D5, 1
0000030E 4144 chk.w D0, D4
00000310 0000 0000 ori.b D0, 0x0
fn00000314:
00000314 4E56 FEF2 link A6, -0x010E
00000318 48E7 0718 movem.l -[A7], D5,D6,D7,A3,A4
0000031C 558F subq.l A7, 2
0000031E 2F3C 6D6F 6F76 move.l -[A7], 0x6D6F6F76 /* 'moov' */
00000324 A80D syscall Count1Resources
00000326 3C1F move.w D6, [A7]+
00000328 48C6 ext.l D6
0000032A 2006 move.l D0, D6
0000032C E388 lsl D0, 1
0000032E 3A00 move.w D5, D0
00000330 5245 addq.w D5, 1
00000332 0C45 0029 cmpi.w D5, 0x29 /* ')' */
00000336 6C04 bge +0x6 /* 0000033C */
00000338 7029 moveq.l D0, 0x29
0000033A 6004 bra +0x6 /* 00000340 */
label0000033C:
0000033C 48C5 ext.l D5
0000033E 2005 move.l D0, D5
label00000340:
00000340 3E00 move.w D7, D0
00000342 48C7 ext.l D7
00000344 2007 move.l D0, D7
00000346 E588 lsl D0, 2
00000348 7222 moveq.l D1, 0x22
0000034A D081 add.l D0, D1
0000034C A322 syscall NewHandleClear, flags=3
0000034E 2D48 FFF8 move.l [A6 - 0x8], A0
00000352 2F08 move.l -[A7], A0
00000354 4EAD 1FCA jsr [A5 + 0x1FCA /* export_1013 */]
00000358 206E FFF8 movea.l A0, [A6 - 0x8]
0000035C A029 syscall HLock
0000035E 206E FFF8 movea.l A0, [A6 - 0x8]
00000362 2850 movea.l A4, [A0]
00000364 206E 0008 movea.l A0, [A6 + 0x8]
00000368 2050 movea.l A0, [A0]
0000036A 1968 0074 0008 move.b [A4 + 0x8], [A0 + 0x74]
00000370 426C 0006 clr.w [A4 + 0x6]
00000374 3947 001C move.w [A4 + 0x1C], D7
00000378 396D F12C 001E move.w [A4 + 0x1E], [A5 - 0xED4]
0000037E 197C 0001 001A move.b [A4 + 0x1A], 0x1
00000384 422C 0020 clr.b [A4 + 0x20]
00000388 7000 moveq.l D0, 0x00
0000038A 2940 0012 move.l [A4 + 0x12], D0
0000038E 2940 0016 move.l [A4 + 0x16], D0
00000392 41EC 000A lea.l A0, [A4 + 0xA]
00000396 43ED F814 lea.l A1, [A5 - 0x7EC]
0000039A 20D9 move.l [A0]+, [A1]+
0000039C 20D9 move.l [A0]+, [A1]+
0000039E 220C move.l D1, A4
000003A0 7422 moveq.l D2, 0x22
000003A2 D282 add.l D1, D2
000003A4 2641 movea.l A3, D1
000003A6 D6C7 add.w A3, D7
000003A8 48C7 ext.l D7
000003AA 220B move.l D1, A3
000003AC D287 add.l D1, D7
000003AE 2D41 FFFC move.l [A6 - 0x4], D1
000003B2 528B addq.l A3, 1
000003B4 54AE FFFC addq.l [A6 - 0x4], 2
000003B8 7000 moveq.l D0, 0x00
000003BA 1F00 move.b -[A7], D0
000003BC A99B syscall SetResLoad
000003BE 7E01 moveq.l D7, 0x01
000003C0 603C bra +0x3E /* 000003FE */
label000003C2:
000003C2 598F subq.l A7, 4
000003C4 2F3C 6D6F 6F76 move.l -[A7], 0x6D6F6F76 /* 'moov' */
000003CA 3F07 move.w -[A7], D7
000003CC A80E syscall Get1IndResource/Get1IxResource
000003CE 285F movea.l A4, [A7]+
000003D0 200C move.l D0, A4
000003D2 6720 beq +0x22 /* 000003F4 */
000003D4 2F0C move.l -[A7], A4
000003D6 486E FEF2 pea.l [A6 - 0x10E]
000003DA 486E FEF4 pea.l [A6 - 0x10C]
000003DE 486E FEF8 pea.l [A6 - 0x108]
000003E2 A9A8 syscall GetResInfo
000003E4 2F0C move.l -[A7], A4
000003E6 A9A3 syscall ReleaseResource
000003E8 16BC FFFF move.b [A3], 0xFF
000003EC 206E FFFC movea.l A0, [A6 - 0x4]
000003F0 30AE FEF2 move.w [A0], [A6 - 0x10E]
label000003F4:
000003F4 3007 move.w D0, D7
000003F6 5247 addq.w D7, 1
000003F8 548B addq.l A3, 2
000003FA 58AE FFFC addq.l [A6 - 0x4], 4
label000003FE:
000003FE BC47 cmp.w D6, D7
00000400 6CC0 bge -0x3E /* 000003C2 */
00000402 7001 moveq.l D0, 0x01
00000404 1F00 move.b -[A7], D0
00000406 A99B syscall SetResLoad
00000408 206E FFF8 movea.l A0, [A6 - 0x8]
0000040C A02A syscall HUnlock
0000040E 2D6E FFF8 000C move.l [A6 + 0xC], [A6 - 0x8]
00000414 4CEE 18E0 FEDE movem.l D5,D6,D7,A3,A4, [A6 - 0x122]
0000041A 4E5E unlink A6
0000041C 2E9F move.l [A7], [A7]+
0000041E 4E75 rts
00000420 8022 or.b D0, -[A2]
00000422 544D addq.w A5, 2
00000424 4F56 chk.w D7, [A6]
00000426 4945 chk.w D4, D5
00000428 444F neg.w A7
0000042A 4355 chk.w D1, [A5]
0000042C 4D45 chk.w D6, D5
0000042E 4E54 2E4D link A4, -0xFFFFD1B3
00000432 414B chk.w D0, A3
00000434 4544 chk.w D2, D4
00000436 4546 chk.w D2, D6
00000438 4155 chk.w D0, [A5]
0000043A 4C54 444F movem.l D0,D1,D2,D3,D6,A2,A6, [A4]
0000043E 4353 chk.w D1, [A3]
00000440 5441 addq.w D1, 2
00000442 5445 addq.w D5, 2
00000444 0000 0000 ori.b D0, 0x0
fn00000448:
00000448 4E56 FFF4 link A6, -0x000C
0000044C 2F0C move.l -[A7], A4
0000044E 3D6E 000E FFF4 move.w [A6 - 0xC], [A6 + 0xE]
00000454 3D6D F134 FFF6 move.w [A6 - 0xA], [A5 - 0xECC]
0000045A 598F subq.l A7, 4
0000045C 2F2E FFF4 move.l -[A7], [A6 - 0xC]
00000460 206E 0008 movea.l A0, [A6 + 0x8]
00000464 2050 movea.l A0, [A0]
00000466 2F28 0076 move.l -[A7], [A0 + 0x76]
0000046A 4EAD 37E2 jsr [A5 + 0x37E2 /* export_1784 */]
0000046E 285F movea.l A4, [A7]+
00000470 41EE FFF8 lea.l A0, [A6 - 0x8]
00000474 43ED F814 lea.l A1, [A5 - 0x7EC]
00000478 20D9 move.l [A0]+, [A1]+
0000047A 20D9 move.l [A0]+, [A1]+
0000047C 3F2E 0010 move.w -[A7], [A6 + 0x10]
00000480 3F2E 000C move.w -[A7], [A6 + 0xC]
00000484 486E FFF8 pea.l [A6 - 0x8]
00000488 7000 moveq.l D0, 0x00
0000048A 2F00 move.l -[A7], D0
0000048C 2F00 move.l -[A7], D0
0000048E 2F0C move.l -[A7], A4
00000490 4EAD 55B2 jsr [A5 + 0x55B2 /* export_2738 */]
00000494 286E FFF0 movea.l A4, [A6 - 0x10]
00000498 4E5E unlink A6
0000049A 205F movea.l A0, [A7]+
0000049C 4FEF 000A lea.l A7, [A7 + 0xA]
000004A0 4ED0 jmp [A0]
000004A2 9C54 sub.w D6, [A4]
000004A4 4D4F chk.w D6, A7
000004A6 5649 addq.w A1, 3
000004A8 4544 chk.w D2, D4
000004AA 4F43 chk.w D7, D3
000004AC 554D subq.w A5, 2
000004AE 454E chk.w D2, A6
000004B0 542E 4C4F addq.b [A6 + 0x4C4F], 2
000004B4 4144 chk.w D0, D4
000004B6 4D4F chk.w D6, A7
000004B8 5649 addq.w A1, 3
000004BA 4543 chk.w D2, D3
000004BC 454C chk.w D2, A4
000004BE 4C00 0000 movem.w <none>, D0
000004C2 0000 4E56 ori.b D0, 0x56 /* 'V' */
000004C6 0000 226E ori.b D0, 0x6E /* 'n' */
000004CA 0008 2069 ori.b A0, 0x69 /* 'i' */
000004CE 0008 2050 ori.b A0, 0x50 /* 'P' */
000004D2 2F28 0008 move.l -[A7], [A0 + 0x8]
000004D6 4EBA 0424 jsr [PC + 0x424 /* 000008FC */]
000004DA 4E5E unlink A6
000004DC 205F movea.l A0, [A7]+
000004DE DEFC 000A add.w A7, 0xA /* '\n' */
000004E2 4ED0 jmp [A0]
export_481:
000004E4 4E56 FEC2 link A6, -0x013E
000004E8 48E7 0028 movem.l -[A7], A2,A4
000004EC 286E 0008 movea.l A4, [A6 + 0x8]
000004F0 2254 movea.l A1, [A4]
000004F2 2069 0008 movea.l A0, [A1 + 0x8]
000004F6 2050 movea.l A0, [A0]
000004F8 2468 0024 movea.l A2, [A0 + 0x24]
000004FC 2452 movea.l A2, [A2]
000004FE 41EE FF00 lea.l A0, [A6 - 0x100]
00000502 703F moveq.l D0, 0x3F
label00000504:
00000504 20DA move.l [A0]+, [A2]+
00000506 51C8 FFFC dbf D0, -0x6 /* 00000504 */
0000050A 486E FF00 pea.l [A6 - 0x100]
0000050E 487A 0052 pea.l [PC + 0x52 /* 00000562, value 0x4E56 'NV', cstring "" */]
00000512 487A 004E pea.l [PC + 0x4E /* 00000562, value 0x4E56 'NV', cstring "" */]
00000516 487A 004A pea.l [PC + 0x4A /* 00000562, value 0x4E56 'NV', cstring "" */]
0000051A A98B syscall ParamText
0000051C 2F3C 0084 0000 move.l -[A7], 0x840000
00000522 42A7 clr.l -[A7]
00000524 4EAD 2022 jsr [A5 + 0x2022 /* export_1024 */]
00000528 7001 moveq.l D0, 0x01
0000052A B05F cmp.w D0, [A7]+
0000052C 662A bne +0x2C /* 00000558 */
0000052E 486E FEC2 pea.l [A6 - 0x13E]
00000532 487A FF90 pea.l [PC - 0x70 /* 000004C4, value 0x4E560000 'NV\0\0', cstring "NV" */]
00000536 2F0E move.l -[A7], A6
00000538 4EAD 1FB2 jsr [A5 + 0x1FB2 /* export_1010 */]
0000053C 2054 movea.l A0, [A4]
0000053E 2F28 0008 move.l -[A7], [A0 + 0x8]
00000542 4EBA 02F0 jsr [PC + 0x2F0 /* 00000834 */]
00000546 486E FEC2 pea.l [A6 - 0x13E]
0000054A 4EAD 1FF2 jsr [A5 + 0x1FF2 /* export_1018 */]
0000054E 2054 movea.l A0, [A4]
00000550 2F28 0008 move.l -[A7], [A0 + 0x8]
00000554 4EBA 03A6 jsr [PC + 0x3A6 /* 000008FC */]
label00000558:
00000558 4CDF 1400 movem.l A2,A4, [A7]+
0000055C 4E5E unlink A6
0000055E 2E9F move.l [A7], [A7]+
00000560 4E75 rts
00000562 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_482: // at 00000564 (misaligned)
00000566 FFFC .invalid <<F/7/7>>
00000568 2F0C move.l -[A7], A4
0000056A 286E 0008 movea.l A4, [A6 + 0x8]
0000056E 2054 movea.l A0, [A4]
00000570 1028 001E move.b D0, [A0 + 0x1E]
00000574 6740 beq +0x42 /* 000005B6 */
00000576 4AA8 0020 tst.l [A0 + 0x20]
0000057A 661A bne +0x1C /* 00000596 */
0000057C 42A7 clr.l -[A7]
0000057E 7078 moveq.l D0, 0x78
00000580 2F00 move.l -[A7], D0
00000582 4EAD 224A jsr [A5 + 0x224A /* export_1093 */]
00000586 2054 movea.l A0, [A4]
00000588 215F 0020 move.l [A0 + 0x20], [A7]+
0000058C 2054 movea.l A0, [A4]
0000058E 2F28 0020 move.l -[A7], [A0 + 0x20]
00000592 4EAD 1FCA jsr [A5 + 0x1FCA /* export_1013 */]
label00000596:
00000596 7078 moveq.l D0, 0x78
00000598 2D40 FFFC move.l [A6 - 0x4], D0
0000059C 4267 clr.w -[A7]
0000059E 3F2E 0010 move.w -[A7], [A6 + 0x10]
000005A2 486E FFFC pea.l [A6 - 0x4]
000005A6 2254 movea.l A1, [A4]
000005A8 2069 0020 movea.l A0, [A1 + 0x20]
000005AC 2F10 move.l -[A7], [A0]
000005AE 4EAD 015A jsr [A5 + 0x15A /* export_39 */]
000005B2 4EAD 1FDA jsr [A5 + 0x1FDA /* export_1015 */]
label000005B6:
000005B6 285F movea.l A4, [A7]+
000005B8 4E5E unlink A6
000005BA 205F movea.l A0, [A7]+
000005BC DEFC 000A add.w A7, 0xA /* '\n' */
000005C0 4ED0 jmp [A0]
000005C2 0000 4E56 ori.b D0, 0x56 /* 'V' */
000005C6 FFFA .invalid <<F/7/7>>
000005C8 48E7 0108 movem.l -[A7], D7,A4
000005CC 286E 0008 movea.l A4, [A6 + 0x8]
000005D0 204C movea.l A0, A4
000005D2 5088 addq.l A0, 8
000005D4 2050 movea.l A0, [A0]
000005D6 2D48 FFFA move.l [A6 - 0x6], A0
000005DA 4267 clr.w -[A7]
000005DC 2F2C FFBE move.l -[A7], [A4 - 0x42]
000005E0 4EAD 0B42 jsr [A5 + 0xB42 /* export_356 */]
000005E4 3E1F move.w D7, [A7]+
000005E6 4CDF 1080 movem.l D7,A4, [A7]+
000005EA 4E5E unlink A6
000005EC 205F movea.l A0, [A7]+
000005EE DEFC 000A add.w A7, 0xA /* '\n' */
000005F2 4ED0 jmp [A0]
export_483:
fn000005F4:
000005F4 4E56 FFBA link A6, -0x0046
000005F8 48E7 0F38 movem.l -[A7], D4,D5,D6,D7,A2,A3,A4
000005FC 266E 000E movea.l A3, [A6 + 0xE]
00000600 282E 0008 move.l D4, [A6 + 0x8]
00000604 2844 movea.l A4, D4
00000606 4A2B 0008 tst.b [A3 + 0x8]
0000060A 57C7 seq D7
0000060C 4407 neg.b D7
0000060E 1007 move.b D0, D7
00000610 671A beq +0x1C /* 0000062C */
00000612 2254 movea.l A1, [A4]
00000614 2069 0024 movea.l A0, [A1 + 0x24]
00000618 2050 movea.l A0, [A0]
0000061A 244B movea.l A2, A3
0000061C 508A addq.l A2, 8
0000061E 703F moveq.l D0, 0x3F
label00000620:
00000620 24D8 move.l [A2]+, [A0]+
00000622 51C8 FFFC dbf D0, -0x6 /* 00000620 */
00000626 36A9 0030 move.w [A3], [A1 + 0x30]
0000062A 6030 bra +0x32 /* 0000065C */
label0000062C:
0000062C 2054 movea.l A0, [A4]
0000062E 2F28 0024 move.l -[A7], [A0 + 0x24]
00000632 486B 0008 pea.l [A3 + 0x8]
00000636 A907 syscall SetString
00000638 2254 movea.l A1, [A4]
0000063A 2069 0024 movea.l A0, [A1 + 0x24]
0000063E 2050 movea.l A0, [A0]
00000640 2F08 move.l -[A7], A0
00000642 486B 0008 pea.l [A3 + 0x8]
00000646 4EAD 5A8A jsr [A5 + 0x5A8A /* export_2893 */]
0000064A 101F move.b D0, [A7]+
0000064C 6708 beq +0xA /* 00000656 */
0000064E 3F3C FF94 move.w -[A7], 0xFF94
00000652 4EAD 1FDA jsr [A5 + 0x1FDA /* export_1015 */]
label00000656:
00000656 2054 movea.l A0, [A4]
00000658 3153 0030 move.w [A0 + 0x30], [A3]
label0000065C:
0000065C 2054 movea.l A0, [A4]
0000065E 1028 0039 move.b D0, [A0 + 0x39]
00000662 670E beq +0x10 /* 00000672 */
00000664 1228 003B move.b D1, [A0 + 0x3B]
00000668 6702 beq +0x4 /* 0000066C */
0000066A C207 and.b D1, D7
label0000066C:
0000066C 0A01 0001 xori.b D1, 0x1
00000670 C001 and.b D0, D1
label00000672:
00000672 1C00 move.b D6, D0
00000674 2054 movea.l A0, [A4]
00000676 1028 003A move.b D0, [A0 + 0x3A]
0000067A 670E beq +0x10 /* 0000068A */
0000067C 1228 003C move.b D1, [A0 + 0x3C]
00000680 6702 beq +0x4 /* 00000684 */
00000682 C207 and.b D1, D7
label00000684:
00000684 0A01 0001 xori.b D1, 0x1
00000688 C001 and.b D0, D1
label0000068A:
0000068A 1A00 move.b D5, D0
0000068C 3D7C 8002 FFC0 move.w [A6 - 0x40], 0x8002
00000692 3D7C 8002 FFBE move.w [A6 - 0x42], 0x8002
00000698 486E FFC2 pea.l [A6 - 0x3E]
0000069C 487A FF26 pea.l [PC - 0xDA /* 000005C4, value 0x4E56FFFA */]
000006A0 2F0E move.l -[A7], A6
000006A2 4EAD 1FB2 jsr [A5 + 0x1FB2 /* export_1010 */]
000006A6 4267 clr.w -[A7]
000006A8 486B 0008 pea.l [A3 + 0x8]
000006AC 3F13 move.w -[A7], [A3]
000006AE 1F06 move.b -[A7], D6
000006B0 1F05 move.b -[A7], D5
000006B2 2054 movea.l A0, [A4]
000006B4 3F28 003E move.w -[A7], [A0 + 0x3E]
000006B8 3F28 0040 move.w -[A7], [A0 + 0x40]
000006BC 486E FFC0 pea.l [A6 - 0x40]
000006C0 486E FFBE pea.l [A6 - 0x42]
000006C4 2F04 move.l -[A7], D4
000006C6 4EAD 2D7A jsr [A5 + 0x2D7A /* export_1451 */]
000006CA 4EAD 1FDA jsr [A5 + 0x1FDA /* export_1015 */]
000006CE 2054 movea.l A0, [A4]
000006D0 117C 0001 0037 move.b [A0 + 0x37], 0x1
000006D6 1028 003B move.b D0, [A0 + 0x3B]
000006DA 6726 beq +0x28 /* 00000702 */
000006DC 1206 move.b D1, D6
000006DE 0A01 0001 xori.b D1, 0x1
000006E2 C001 and.b D0, D1
000006E4 671C beq +0x1E /* 00000702 */
000006E6 2054 movea.l A0, [A4]
000006E8 3D68 0042 FFC0 move.w [A6 - 0x40], [A0 + 0x42]
000006EE 4267 clr.w -[A7]
000006F0 3F2E FFC0 move.w -[A7], [A6 - 0x40]
000006F4 3F3C 0001 move.w -[A7], 0x1
000006F8 42A7 clr.l -[A7]
000006FA 4EAD 01BA jsr [A5 + 0x1BA /* export_51 */]
000006FE 4EAD 1FDA jsr [A5 + 0x1FDA /* export_1015 */]
label00000702:
00000702 2054 movea.l A0, [A4]
00000704 1028 003C move.b D0, [A0 + 0x3C]
00000708 6716 beq +0x18 /* 00000720 */
0000070A 1205 move.b D1, D5
0000070C 0A01 0001 xori.b D1, 0x1
00000710 C001 and.b D0, D1
00000712 670C beq +0xE /* 00000720 */
00000714 3D68 0044 FFBE move.w [A6 - 0x42], [A0 + 0x44]
0000071A 3F2E FFBE move.w -[A7], [A6 - 0x42]
0000071E A998 syscall UseResFile
label00000720:
00000720 3F2E FFC0 move.w -[A7], [A6 - 0x40]
00000724 0C6E 8002 FFBE cmpi.w [A6 - 0x42], 0x8002
0000072A 56C0 sne D0
0000072C 4400 neg.b D0
0000072E 1F00 move.b -[A7], D0
00000730 1F2E 000C move.b -[A7], [A6 + 0xC]
00000734 2F04 move.l -[A7], D4
00000736 4EAD 2D8A jsr [A5 + 0x2D8A /* export_1453 */]
0000073A 42A7 clr.l -[A7]
0000073C 2F04 move.l -[A7], D4
0000073E 4EAD 2D52 jsr [A5 + 0x2D52 /* export_1446 */]
00000742 486E FFC2 pea.l [A6 - 0x3E]
00000746 4EAD 1FF2 jsr [A5 + 0x1FF2 /* export_1018 */]
0000074A 2054 movea.l A0, [A4]
0000074C 1028 003B move.b D0, [A0 + 0x3B]
00000750 670E beq +0x10 /* 00000760 */
00000752 316E FFC0 0042 move.w [A0 + 0x42], [A6 - 0x40]
00000758 3D7C 8002 FFC0 move.w [A6 - 0x40], 0x8002
0000075E 6008 bra +0xA /* 00000768 */
label00000760:
00000760 2054 movea.l A0, [A4]
00000762 317C 8002 0042 move.w [A0 + 0x42], 0x8002
label00000768:
00000768 2054 movea.l A0, [A4]
0000076A 1028 003C move.b D0, [A0 + 0x3C]
0000076E 6716 beq +0x18 /* 00000786 */
00000770 316E FFBE 0044 move.w [A0 + 0x44], [A6 - 0x42]
00000776 2054 movea.l A0, [A4]
00000778 3F28 0044 move.w -[A7], [A0 + 0x44]
0000077C A998 syscall UseResFile
0000077E 3D7C 8002 FFBE move.w [A6 - 0x42], 0x8002
00000784 6008 bra +0xA /* 0000078E */
label00000786:
00000786 2054 movea.l A0, [A4]
00000788 317C 8002 0044 move.w [A0 + 0x44], 0x8002
label0000078E:
0000078E 4267 clr.w -[A7]
00000790 2F2E FFBE move.l -[A7], [A6 - 0x42]
00000794 4EAD 0B42 jsr [A5 + 0xB42 /* export_356 */]
00000798 4EAD 1FDA jsr [A5 + 0x1FDA /* export_1015 */]
0000079C 42A7 clr.l -[A7]
0000079E 486B 0008 pea.l [A3 + 0x8]
000007A2 3F13 move.w -[A7], [A3]
000007A4 4EAD 0B52 jsr [A5 + 0xB52 /* export_358 */]
000007A8 2054 movea.l A0, [A4]
000007AA 215F 0032 move.l [A0 + 0x32], [A7]+
000007AE 4CDF 1CF0 movem.l D4,D5,D6,D7,A2,A3,A4, [A7]+
000007B2 4E5E unlink A6
000007B4 205F movea.l A0, [A7]+
000007B6 DEFC 000A add.w A7, 0xA /* '\n' */
000007BA 4ED0 jmp [A0]
000007BC 4E56 0000 link A6, 0
000007C0 70D5 moveq.l D0, 0xFFFFFFD5
000007C2 B06E 0010 cmp.w D0, [A6 + 0x10]
000007C6 6606 bne +0x8 /* 000007CE */
000007C8 3D7C B1DF 0010 move.w [A6 + 0x10], 0xB1DF
label000007CE:
000007CE 4AAE 000C tst.l [A6 + 0xC]
000007D2 661C bne +0x1E /* 000007F0 */
000007D4 226E 0008 movea.l A1, [A6 + 0x8]
000007D8 2069 0008 movea.l A0, [A1 + 0x8]
000007DC 2050 movea.l A0, [A0]
000007DE 2268 0024 movea.l A1, [A0 + 0x24]
000007E2 2251 movea.l A1, [A1]
000007E4 41ED F6C8 lea.l A0, [A5 - 0x938]
000007E8 703F moveq.l D0, 0x3F
label000007EA:
000007EA 20D9 move.l [A0]+, [A1]+
000007EC 51C8 FFFC dbf D0, -0x6 /* 000007EA */
label000007F0:
000007F0 3F2E 0010 move.w -[A7], [A6 + 0x10]
000007F4 2F2E 000C move.l -[A7], [A6 + 0xC]
000007F8 2F3C 0082 0003 move.l -[A7], 0x820003
000007FE 4EAD 1FC2 jsr [A5 + 0x1FC2 /* export_1012 */]
00000802 4E5E unlink A6
00000804 205F movea.l A0, [A7]+
00000806 DEFC 000A add.w A7, 0xA /* '\n' */
0000080A 4ED0 jmp [A0]
0000080C 4E56 0000 link A6, 0
00000810 206E 000C movea.l A0, [A6 + 0xC]
00000814 2050 movea.l A0, [A0]
00000816 4AA8 0034 tst.l [A0 + 0x34]
0000081A 670E beq +0x10 /* 0000082A */
0000081C 206E 000C movea.l A0, [A6 + 0xC]
00000820 2050 movea.l A0, [A0]
00000822 2F28 0034 move.l -[A7], [A0 + 0x34]
00000826 4EAD 3242 jsr [A5 + 0x3242 /* export_1604 */]
label0000082A:
0000082A 4E5E unlink A6
0000082C 205F movea.l A0, [A7]+
0000082E 504F addq.w A7, 8
00000830 4ED0 jmp [A0]
00000832 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00000834-0000083C
fn00000834:
00000834 4E56 FEB6 link A6, -0x014A
00000838 48E7 0118 movem.l -[A7], D7,A3,A4
// end alternate branch 00000834-0000083C
fn00000834: // (misaligned)
00000836 FEB6 48E7 .extension 0xEB6 <<F/2-3/7>> // unimplemented
0000083A 0118 btst [A0]+, D0
0000083C 266E 0008 movea.l A3, [A6 + 0x8]
00000840 284B movea.l A4, A3
00000842 486E FEBA pea.l [A6 - 0x146]
00000846 487A FF74 pea.l [PC - 0x8C /* 000007BC, value 0x4E560000 'NV\0\0', cstring "NV" */]
0000084A 2F0E move.l -[A7], A6
0000084C 4EAD 1FB2 jsr [A5 + 0x1FB2 /* export_1010 */]
00000850 2F3C 000D 00FA move.l -[A7], 0xD00FA
00000856 1F3C 0001 move.b -[A7], 0x1
0000085A 2F0B move.l -[A7], A3
0000085C 4EAD 0B1A jsr [A5 + 0xB1A /* export_351 */]
00000860 42A7 clr.l -[A7]
00000862 2F0B move.l -[A7], A3
00000864 4EAD 32AA jsr [A5 + 0x32AA /* export_1617 */]
00000868 2E1F move.l D7, [A7]+
0000086A 56C0 sne D0
0000086C 4A00 tst.b D0
0000086E 6714 beq +0x16 /* 00000884 */
00000870 2047 movea.l A0, D7
00000872 2050 movea.l A0, [A0]
00000874 B7E8 0008 cmpa.l A3, [A0 + 0x8]
00000878 57C1 seq D1
0000087A C001 and.b D0, D1
0000087C 6706 beq +0x8 /* 00000884 */
0000087E 2F0B move.l -[A7], A3
00000880 4EAD 32B2 jsr [A5 + 0x32B2 /* export_1618 */]
label00000884:
00000884 2F0B move.l -[A7], A3
00000886 4EAD 1C7A jsr [A5 + 0x1C7A /* export_907 */]
0000088A 2054 movea.l A0, [A4]
0000088C 1028 0037 move.b D0, [A0 + 0x37]
00000890 6712 beq +0x14 /* 000008A4 */
00000892 422E FF00 clr.b [A6 - 0x100]
00000896 486E FEF8 pea.l [A6 - 0x108]
0000089A 4267 clr.w -[A7]
0000089C 2F0B move.l -[A7], A3
0000089E 4EBA FD54 jsr [PC - 0x2AC /* 000005F4 */]
000008A2 601E bra +0x20 /* 000008C2 */
label000008A4:
000008A4 2054 movea.l A0, [A4]
000008A6 4AA8 0012 tst.l [A0 + 0x12]
000008AA 6710 beq +0x12 /* 000008BC */
000008AC 487A FF5E pea.l [PC - 0xA2 /* 0000080C, value 0x4E560000 'NV\0\0', cstring "NV" */]
000008B0 2F0E move.l -[A7], A6
000008B2 2054 movea.l A0, [A4]
000008B4 2F28 0012 move.l -[A7], [A0 + 0x12]
000008B8 4EAD 1842 jsr [A5 + 0x1842 /* export_772 */]
label000008BC:
000008BC 2F0B move.l -[A7], A3
000008BE 4EAD 2D9A jsr [A5 + 0x2D9A /* export_1455 */]
label000008C2:
000008C2 42A7 clr.l -[A7]
000008C4 2F0B move.l -[A7], A3
000008C6 4EAD 2D52 jsr [A5 + 0x2D52 /* export_1446 */]
000008CA 486E FEBA pea.l [A6 - 0x146]
000008CE 4EAD 1FF2 jsr [A5 + 0x1FF2 /* export_1018 */]
000008D2 4CDF 1880 movem.l D7,A3,A4, [A7]+
000008D6 4E5E unlink A6
000008D8 2E9F move.l [A7], [A7]+
000008DA 4E75 rts
export_484:
000008DC 4E56 0000 link A6, 0
000008E0 4E5E unlink A6
000008E2 2E9F move.l [A7], [A7]+
000008E4 4E75 rts
000008E6 0000 4E56 ori.b D0, 0x56 /* 'V' */
000008EA 0000 2F2E ori.b D0, 0x2E /* '.' */
000008EE 000C 4EAD ori.b A4, 0xAD
000008F2 31A2 4E5E move.w [A0 + D4 * 8 + 0x5E], -[A2]
000008F6 205F movea.l A0, [A7]+
000008F8 504F addq.w A7, 8
000008FA 4ED0 jmp [A0]
fn000008FC:
000008FC 4E56 0000 link A6, 0
00000900 487A FFE6 pea.l [PC - 0x1A /* 000008E8, value 0x4E560000 'NV\0\0', cstring "NV" */]
00000904 2F0E move.l -[A7], A6
00000906 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000090A 4EAD 1C6A jsr [A5 + 0x1C6A /* export_905 */]
0000090E 4E5E unlink A6
00000910 2E9F move.l [A7], [A7]+
00000912 4E75 rts
00000914 4E56 0000 link A6, 0
00000918 2F2E 000C move.l -[A7], [A6 + 0xC]
0000091C 4EAD 31A2 jsr [A5 + 0x31A2 /* export_1584 */]
00000920 4E5E unlink A6
00000922 205F movea.l A0, [A7]+
00000924 504F addq.w A7, 8
00000926 4ED0 jmp [A0]
export_485:
00000928 4E56 0000 link A6, 0
0000092C 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000930 4EAD 1CAA jsr [A5 + 0x1CAA /* export_913 */]
00000934 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000938 4EAD 312A jsr [A5 + 0x312A /* export_1569 */]
0000093C 487A FFD6 pea.l [PC - 0x2A /* 00000914, value 0x4E560000 'NV\0\0', cstring "NV" */]
00000940 2F0E move.l -[A7], A6
00000942 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000946 4EAD 1D4A jsr [A5 + 0x1D4A /* export_933 */]
0000094A 4E5E unlink A6
0000094C 2E9F move.l [A7], [A7]+
0000094E 4E75 rts